[INFO] cloning repository https://github.com/forceki/pos-be
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forceki/pos-be" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforceki%2Fpos-be", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforceki%2Fpos-be'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e09a1092cd466204a815d5236f5d6205cce5c4b7
[INFO] fixing forceki/pos-be against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforceki%2Fpos-be" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/forceki/pos-be
[INFO] finished tweaking git repo https://github.com/forceki/pos-be
[INFO] tweaked toml for git repo https://github.com/forceki/pos-be written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/forceki/pos-be on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/forceki/pos-be already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.7.0
[INFO] [stderr]   Downloaded zmij v1.0.14
[INFO] [stderr]   Downloaded toml_parser v1.0.8+spec-1.1.0
[INFO] [stderr]   Downloaded time-macros v0.2.25
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded chrono v0.4.43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333
[INFO] running `Command { std: "docker" "start" "9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling find-msvc-tools v0.1.7
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.14
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]     Checking num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling time-core v0.1.7
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling time-macros v0.2.25
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking time v0.3.45
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling rsa v0.9.10
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking deunicode v1.6.2
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking slug v0.1.6
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking actix-web v4.12.1
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking pos-be v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | /         sqlx::query!(
[INFO] [stdout] 25 | |             "INSERT INTO users (user_id, fullname, email, password, role_id, company_id, created_at, updated_at)
[INFO] [stdout] 26 | |             VALUES (?, ?, ?, ?, ?, ?, ?, ?)",
[INFO] [stdout] 27 | |             user.user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |             user.updated_at            
[INFO] [stdout] 35 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |           let created = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 40 | |             User,
[INFO] [stdout] 41 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE user_id = ?",
[INFO] [stdout] 42 | |             user.user_id
[INFO] [stdout] 43 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 52 | |             User,
[INFO] [stdout] 53 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE email = ?",
[INFO] [stdout] 54 | |             email
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 64 | |             User,
[INFO] [stdout] 65 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE user_id = ?",
[INFO] [stdout] 66 | |             user_id
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         sqlx::query!(
[INFO] [stdout] 19 | |             "INSERT INTO roles (id, name, company_id, description, created_at, updated_at) VALUES (?,?,?,?,?,?)",
[INFO] [stdout] 20 | |             role.id,
[INFO] [stdout] 21 | |             role.name,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |             role.updated_at
[INFO] [stdout] 26 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let count_result = sqlx::query!("SELECT count(1) as count FROM roles WHERE company_id = ? ", self.company_id)
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let roles = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 42 | |             Roles,
[INFO] [stdout] 43 | |             "SELECT id, name, description, company_id, created_at, updated_at FROM roles WHERE company_id = ? LIMIT ? OFFSET ?",
[INFO] [stdout] 44 | |             self.company_id,
[INFO] [stdout] 45 | |             limit,
[INFO] [stdout] 46 | |             offset
[INFO] [stdout] 47 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 55 |           let rows = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 56 | |             "SELECT id, name FROM roles WHERE company_id = ? ORDER BY name ASC",
[INFO] [stdout] 57 | |             self.company_id
[INFO] [stdout] 58 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/company_repository.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | /         sqlx::query!(
[INFO] [stdout] 18 | |             "INSERT INTO company (id, name, slug, address, phone_number, link,created_at, updated_at) VALUES (?,?,?,?,?,?,?,?)",
[INFO] [stdout] 19 | |             data.id,
[INFO] [stdout] 20 | |             data.name,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 20 | |             User,
[INFO] [stdout] 21 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE email = ?",
[INFO] [stdout] 22 | |             email
[INFO] [stdout] 23 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             "INSERT INTO company (id, name, slug, created_at) VALUES (?, ?, ?, ?)",
[INFO] [stdout] 36 | |             payload.company_id, payload.company_slug, payload.company_name, Utc::now()
[INFO] [stdout] 37 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | /         sqlx::query!(
[INFO] [stdout] 41 | |             "INSERT INTO roles (id, name, description, company_id, created_at) VALUES (?, ?, ?, ?, ?)",
[INFO] [stdout] 42 | |             payload.role_id, payload.role_name, "Pemilik Toko", payload.company_id, Utc::now()
[INFO] [stdout] 43 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | /         sqlx::query!(
[INFO] [stdout] 47 | |             r#"
[INFO] [stdout] 48 | |             INSERT INTO users (user_id, fullname, email, password, role_id, company_id, created_at, updated_at) 
[INFO] [stdout] 49 | |             VALUES (?, ?, ?, ?, ?, ?, ?,?)
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |             Utc::now()
[INFO] [stdout] 59 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/store_repository.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 25 | |             "SELECT count(1) as count FROM stores WHERE company_id = ? AND code = ?",
[INFO] [stdout] 26 | |             self.company_id,
[INFO] [stdout] 27 | |             code
[INFO] [stdout] 28 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/store_repository.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         sqlx::query!(
[INFO] [stdout] 37 | |             r#"
[INFO] [stdout] 38 | |             INSERT INTO stores (
[INFO] [stdout] 39 | |                 id, company_id, code, name, address, store_number_phone, 
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             new_store.updated_at
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | /         sqlx::query!(
[INFO] [stdout] 110 | |             r#"
[INFO] [stdout] 111 | |                 UPDATE stores 
[INFO] [stdout] 112 | |                 SET 
[INFO] [stdout] ...   |
[INFO] [stdout] 127 | |             self.company_id
[INFO] [stdout] 128 | |         ).
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 | /         sqlx::query!(
[INFO] [stdout] 137 | |             "UPDATE stores SET status = ? , updated_at = NOW() WHERE id = ? AND company_id = ?",
[INFO] [stdout] 138 | |             status,
[INFO] [stdout] 139 | |             id,
[INFO] [stdout] 140 | |             self.company_id
[INFO] [stdout] 141 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:148:22
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 149 | |             "SELECT count(1) as count FROM stores WHERE id = ? AND company_id = ?",
[INFO] [stdout] 150 | |             id,
[INFO] [stdout] 151 | |             self.company_id
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:160:20
[INFO] [stdout]     |
[INFO] [stdout] 160 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 161 | |             "SELECT id, name FROM stores WHERE company_id = ? AND status = 1 ORDER BY name ASC",
[INFO] [stdout] 162 | |             self.company_id
[INFO] [stdout] 163 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/category_repository.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 25 | |             r#"INSERT INTO categories (name, slug, company_id, parent_id, created_by, created_at) 
[INFO] [stdout] 26 | |                VALUES (?, ?, ?, ?, ?, ?)"#,
[INFO] [stdout] 27 | |             name, slug, self.company_id, parent_id, user_id, Utc::now()
[INFO] [stdout] 28 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/category_repository.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | /         sqlx::query!(
[INFO] [stdout] 63 | |             r#"UPDATE categories SET 
[INFO] [stdout] 64 | |                name = COALESCE(?, name), 
[INFO] [stdout] 65 | |                parent_id = COALESCE(?, parent_id),
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |             dto.name, dto.parent_id, dto.is_active, user_id, id, self.company_id, Utc::now()
[INFO] [stdout] 71 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/brand_repository.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 24 | |             r#"INSERT INTO brands (name, slug, company_id, created_by) 
[INFO] [stdout] 25 | |                VALUES (?, ?, ?, ?)"#,
[INFO] [stdout] 26 | |             name, slug, self.company_id, user_id
[INFO] [stdout] 27 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/brand_repository.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         sqlx::query!(
[INFO] [stdout] 62 | |             r#"UPDATE brands SET 
[INFO] [stdout] 63 | |                name = COALESCE(?, name), 
[INFO] [stdout] 64 | |                is_active = COALESCE(?, is_active),
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |             dto.name, dto.is_active, user_id, id, self.company_id
[INFO] [stdout] 69 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/brand_repository.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let rows = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 77 | |             "SELECT id, name FROM brands WHERE company_id = ? AND is_active = true ORDER BY name ASC",
[INFO] [stdout] 78 | |             self.company_id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/unit_repository.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 19 | |             "INSERT INTO units (name, company_id, created_by) VALUES (?, ?, ?)",
[INFO] [stdout] 20 | |             name,
[INFO] [stdout] 21 | |             company_id,
[INFO] [stdout] 22 | |             user_id
[INFO] [stdout] 23 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/product_repository.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 41 | |             r#"
[INFO] [stdout] 42 | |             INSERT INTO products (company_id, name, product_type, description, category_id, brand_id, created_by)
[INFO] [stdout] 43 | |             VALUES (?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             data.created_by
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/product_repository.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 61 | |             r#"
[INFO] [stdout] 62 | |             INSERT INTO product_variants (product_id, name, sku, base_unit_id, base_cost, company_id, created_by)
[INFO] [stdout] 63 | |             VALUES (?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |             data.created_by
[INFO] [stdout] 72 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/product_repository.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 80 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 81 | |             r#"
[INFO] [stdout] 82 | |             INSERT INTO product_units (
[INFO] [stdout] 83 | |                 variant_id, unit_id, conversion_to_base, selling_price, purchase_price, 
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             data.created_by
[INFO] [stdout] 98 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 | /         sqlx::query!(
[INFO] [stdout] 191 | |             r#"
[INFO] [stdout] 192 | |             UPDATE products 
[INFO] [stdout] 193 | |             SET name = ?, product_type = ?, description = ?, category_id = ?, brand_id = ?, updated_by = ?
[INFO] [stdout] ...   |
[INFO] [stdout] 203 | |             company_id
[INFO] [stdout] 204 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:211:19
[INFO] [stdout]     |
[INFO] [stdout] 211 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 212 | |             r#"
[INFO] [stdout] 213 | |             INSERT INTO product_variants (product_id, name, sku, base_unit_id, base_cost, company_id, created_by)
[INFO] [stdout] 214 | |             VALUES (?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |             data.created_by
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:233:23
[INFO] [stdout]     |
[INFO] [stdout] 233 | ...   let vr = sqlx::query!("SELECT id FROM product_variants WHERE sku = ? AND company_id = ?", data.sku, data.company_id).fetch_on...
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:241:19
[INFO] [stdout]     |
[INFO] [stdout] 241 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 242 | |             r#"
[INFO] [stdout] 243 | |             INSERT INTO product_units (
[INFO] [stdout] 244 | |                 variant_id, unit_id, conversion_to_base, selling_price, purchase_price, 
[INFO] [stdout] ...   |
[INFO] [stdout] 266 | |             data.created_by
[INFO] [stdout] 267 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inventory_repository.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let header_query = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 414 | |             r#"
[INFO] [stdout] 415 | |             SELECT 
[INFO] [stdout] 416 | |                 p.name as product_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 428 | |             inventory_id, company_id
[INFO] [stdout] 429 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inventory_repository.rs:553:25
[INFO] [stdout]     |
[INFO] [stdout] 553 |           let stock_row = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 554 | |             r#"
[INFO] [stdout] 555 | |             SELECT id, product_id, variant_id, store_id, quantity_on_hand 
[INFO] [stdout] 556 | |             FROM inventory_stocks 
[INFO] [stdout] ...   |
[INFO] [stdout] 560 | |             inventory_id, company_id
[INFO] [stdout] 561 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inventory_repository.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 | /         sqlx::query!(
[INFO] [stdout] 581 | |             r#"
[INFO] [stdout] 582 | |             UPDATE inventory_stocks 
[INFO] [stdout] 583 | |             SET quantity_on_hand = ?, quantity_available = quantity_available + ? 
[INFO] [stdout] ...   |
[INFO] [stdout] 586 | |             dto.physical_count, diff, inventory_id
[INFO] [stdout] 587 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/inbound_repository.rs:37:29
[INFO] [stdout]    |
[INFO] [stdout] 37 |           let header_result = sqlx::query!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 38 | |             r#"
[INFO] [stdout] 39 | |             INSERT INTO inbound_receipts (
[INFO] [stdout] 40 | |                 company_id, reference_no, supplier_id, warehouse_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             user_id
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/inbound_repository.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 | /             sqlx::query!(
[INFO] [stdout] 63 | |                 r#"
[INFO] [stdout] 64 | |                 INSERT INTO inbound_items (
[INFO] [stdout] 65 | |                     company_id, inbound_id, variant_id, qty_received, 
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |                 base_qty
[INFO] [stdout] 77 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/inbound_repository.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 | /         sqlx::query_as!(
[INFO] [stdout] 90 | |             InboundReceipt,
[INFO] [stdout] 91 | |             r#"SELECT id, company_id, reference_no, status as "status!", warehouse_id, created_by 
[INFO] [stdout] 92 | |                FROM inbound_receipts WHERE id = ?"#,
[INFO] [stdout] 93 | |             id
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 | /         sqlx::query_as!(
[INFO] [stdout] 101 | |             InboundItem,
[INFO] [stdout] 102 | |             r#"SELECT id, variant_id, qty_received, conversion_factor as "conversion_factor!", base_qty_added 
[INFO] [stdout] 103 | |                FROM inbound_items WHERE inbound_id = ?"#,
[INFO] [stdout] 104 | |             inbound_id
[INFO] [stdout] 105 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 | /         sqlx::query!(
[INFO] [stdout] 112 | |             "UPDATE inbound_receipts SET status = ? WHERE id = ?",
[INFO] [stdout] 113 | |             status,
[INFO] [stdout] 114 | |             id
[INFO] [stdout] 115 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |               let product_data = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 144 | |                 "SELECT product_id, sku FROM product_variants WHERE id = ?",
[INFO] [stdout] 145 | |                 item.variant_id
[INFO] [stdout] 146 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:151:32
[INFO] [stdout]     |
[INFO] [stdout] 151 |               let stock_record = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 152 | |                 "SELECT quantity_on_hand FROM inventory_stocks WHERE variant_id = ? AND store_id = ? FOR UPDATE",
[INFO] [stdout] 153 | |                 item.variant_id,
[INFO] [stdout] 154 | |                 receipt.warehouse_id
[INFO] [stdout] 155 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 | /             sqlx::query!(
[INFO] [stdout] 169 | |                 r#"
[INFO] [stdout] 170 | |                 INSERT INTO inventory_stocks (
[INFO] [stdout] 171 | |                     company_id, product_id, variant_id, store_id, sku,
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |                 user_id  // updated_by
[INFO] [stdout] 191 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:328:23
[INFO] [stdout]     |
[INFO] [stdout] 328 |           let receipt = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 329 | |             r#"
[INFO] [stdout] 330 | |             SELECT 
[INFO] [stdout] 331 | |                 i.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | |             company_id
[INFO] [stdout] 351 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |               let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 358 | |                 crate::dtos::inbound_dto::InboundDetailItemResponse,
[INFO] [stdout] 359 | |                 r#"
[INFO] [stdout] 360 | |                 SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |                 inbound_id
[INFO] [stdout] 374 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/document_numbering.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 34 |           let doc = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 35 | |             DocumentNumbering,
[INFO] [stdout] 36 | |             r#"
[INFO] [stdout] 37 | |             SELECT id, name, formatter, last_number, last_year, last_month, last_day, number_length, reset_at 
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             doc_id
[INFO] [stdout] 43 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/utils/document_numbering.rs:96:9
[INFO] [stdout]     |
[INFO] [stdout]  96 | /         sqlx::query!(
[INFO] [stdout]  97 | |             r#"
[INFO] [stdout]  98 | |             UPDATE document_numbering 
[INFO] [stdout]  99 | |             SET last_number = ?, last_year = ?, last_month = ?, last_day = ?
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |             doc_id
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/inventory_history.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         sqlx::query!(
[INFO] [stdout] 31 | |             r#"
[INFO] [stdout] 32 | |             INSERT INTO stock_inventory_histories (
[INFO] [stdout] 33 | |                 company_id, product_id, variant_id, store_id, reference_no, type,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             entry.created_by
[INFO] [stdout] 48 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | /         sqlx::query!(
[INFO] [stdout] 25 | |             "INSERT INTO users (user_id, fullname, email, password, role_id, company_id, created_at, updated_at)
[INFO] [stdout] 26 | |             VALUES (?, ?, ?, ?, ?, ?, ?, ?)",
[INFO] [stdout] 27 | |             user.user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |             user.updated_at            
[INFO] [stdout] 35 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |           let created = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 40 | |             User,
[INFO] [stdout] 41 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE user_id = ?",
[INFO] [stdout] 42 | |             user.user_id
[INFO] [stdout] 43 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 52 | |             User,
[INFO] [stdout] 53 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE email = ?",
[INFO] [stdout] 54 | |             email
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 64 | |             User,
[INFO] [stdout] 65 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE user_id = ?",
[INFO] [stdout] 66 | |             user_id
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         sqlx::query!(
[INFO] [stdout] 19 | |             "INSERT INTO roles (id, name, company_id, description, created_at, updated_at) VALUES (?,?,?,?,?,?)",
[INFO] [stdout] 20 | |             role.id,
[INFO] [stdout] 21 | |             role.name,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |             role.updated_at
[INFO] [stdout] 26 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let count_result = sqlx::query!("SELECT count(1) as count FROM roles WHERE company_id = ? ", self.company_id)
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let roles = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 42 | |             Roles,
[INFO] [stdout] 43 | |             "SELECT id, name, description, company_id, created_at, updated_at FROM roles WHERE company_id = ? LIMIT ? OFFSET ?",
[INFO] [stdout] 44 | |             self.company_id,
[INFO] [stdout] 45 | |             limit,
[INFO] [stdout] 46 | |             offset
[INFO] [stdout] 47 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/roles_repository.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 55 |           let rows = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 56 | |             "SELECT id, name FROM roles WHERE company_id = ? ORDER BY name ASC",
[INFO] [stdout] 57 | |             self.company_id
[INFO] [stdout] 58 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/company_repository.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | /         sqlx::query!(
[INFO] [stdout] 18 | |             "INSERT INTO company (id, name, slug, address, phone_number, link,created_at, updated_at) VALUES (?,?,?,?,?,?,?,?)",
[INFO] [stdout] 19 | |             data.id,
[INFO] [stdout] 20 | |             data.name,
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 20 | |             User,
[INFO] [stdout] 21 | |             "SELECT user_id, fullname, email, password, role_id, company_id, created_at, updated_at FROM users WHERE email = ?",
[INFO] [stdout] 22 | |             email
[INFO] [stdout] 23 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             "INSERT INTO company (id, name, slug, created_at) VALUES (?, ?, ?, ?)",
[INFO] [stdout] 36 | |             payload.company_id, payload.company_slug, payload.company_name, Utc::now()
[INFO] [stdout] 37 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | /         sqlx::query!(
[INFO] [stdout] 41 | |             "INSERT INTO roles (id, name, description, company_id, created_at) VALUES (?, ?, ?, ?, ?)",
[INFO] [stdout] 42 | |             payload.role_id, payload.role_name, "Pemilik Toko", payload.company_id, Utc::now()
[INFO] [stdout] 43 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/auth_repository.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | /         sqlx::query!(
[INFO] [stdout] 47 | |             r#"
[INFO] [stdout] 48 | |             INSERT INTO users (user_id, fullname, email, password, role_id, company_id, created_at, updated_at) 
[INFO] [stdout] 49 | |             VALUES (?, ?, ?, ?, ?, ?, ?,?)
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |             Utc::now()
[INFO] [stdout] 59 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/store_repository.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 25 | |             "SELECT count(1) as count FROM stores WHERE company_id = ? AND code = ?",
[INFO] [stdout] 26 | |             self.company_id,
[INFO] [stdout] 27 | |             code
[INFO] [stdout] 28 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/store_repository.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         sqlx::query!(
[INFO] [stdout] 37 | |             r#"
[INFO] [stdout] 38 | |             INSERT INTO stores (
[INFO] [stdout] 39 | |                 id, company_id, code, name, address, store_number_phone, 
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             new_store.updated_at
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | /         sqlx::query!(
[INFO] [stdout] 110 | |             r#"
[INFO] [stdout] 111 | |                 UPDATE stores 
[INFO] [stdout] 112 | |                 SET 
[INFO] [stdout] ...   |
[INFO] [stdout] 127 | |             self.company_id
[INFO] [stdout] 128 | |         ).
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 | /         sqlx::query!(
[INFO] [stdout] 137 | |             "UPDATE stores SET status = ? , updated_at = NOW() WHERE id = ? AND company_id = ?",
[INFO] [stdout] 138 | |             status,
[INFO] [stdout] 139 | |             id,
[INFO] [stdout] 140 | |             self.company_id
[INFO] [stdout] 141 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:148:22
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 149 | |             "SELECT count(1) as count FROM stores WHERE id = ? AND company_id = ?",
[INFO] [stdout] 150 | |             id,
[INFO] [stdout] 151 | |             self.company_id
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/store_repository.rs:160:20
[INFO] [stdout]     |
[INFO] [stdout] 160 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 161 | |             "SELECT id, name FROM stores WHERE company_id = ? AND status = 1 ORDER BY name ASC",
[INFO] [stdout] 162 | |             self.company_id
[INFO] [stdout] 163 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/category_repository.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 25 | |             r#"INSERT INTO categories (name, slug, company_id, parent_id, created_by, created_at) 
[INFO] [stdout] 26 | |                VALUES (?, ?, ?, ?, ?, ?)"#,
[INFO] [stdout] 27 | |             name, slug, self.company_id, parent_id, user_id, Utc::now()
[INFO] [stdout] 28 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/category_repository.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | /         sqlx::query!(
[INFO] [stdout] 63 | |             r#"UPDATE categories SET 
[INFO] [stdout] 64 | |                name = COALESCE(?, name), 
[INFO] [stdout] 65 | |                parent_id = COALESCE(?, parent_id),
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |             dto.name, dto.parent_id, dto.is_active, user_id, id, self.company_id, Utc::now()
[INFO] [stdout] 71 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/brand_repository.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 24 | |             r#"INSERT INTO brands (name, slug, company_id, created_by) 
[INFO] [stdout] 25 | |                VALUES (?, ?, ?, ?)"#,
[INFO] [stdout] 26 | |             name, slug, self.company_id, user_id
[INFO] [stdout] 27 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/brand_repository.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         sqlx::query!(
[INFO] [stdout] 62 | |             r#"UPDATE brands SET 
[INFO] [stdout] 63 | |                name = COALESCE(?, name), 
[INFO] [stdout] 64 | |                is_active = COALESCE(?, is_active),
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |             dto.name, dto.is_active, user_id, id, self.company_id
[INFO] [stdout] 69 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/brand_repository.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let rows = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 77 | |             "SELECT id, name FROM brands WHERE company_id = ? AND is_active = true ORDER BY name ASC",
[INFO] [stdout] 78 | |             self.company_id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/unit_repository.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 19 | |             "INSERT INTO units (name, company_id, created_by) VALUES (?, ?, ?)",
[INFO] [stdout] 20 | |             name,
[INFO] [stdout] 21 | |             company_id,
[INFO] [stdout] 22 | |             user_id
[INFO] [stdout] 23 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/product_repository.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 41 | |             r#"
[INFO] [stdout] 42 | |             INSERT INTO products (company_id, name, product_type, description, category_id, brand_id, created_by)
[INFO] [stdout] 43 | |             VALUES (?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             data.created_by
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/product_repository.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 61 | |             r#"
[INFO] [stdout] 62 | |             INSERT INTO product_variants (product_id, name, sku, base_unit_id, base_cost, company_id, created_by)
[INFO] [stdout] 63 | |             VALUES (?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |             data.created_by
[INFO] [stdout] 72 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/product_repository.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 80 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 81 | |             r#"
[INFO] [stdout] 82 | |             INSERT INTO product_units (
[INFO] [stdout] 83 | |                 variant_id, unit_id, conversion_to_base, selling_price, purchase_price, 
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             data.created_by
[INFO] [stdout] 98 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 | /         sqlx::query!(
[INFO] [stdout] 191 | |             r#"
[INFO] [stdout] 192 | |             UPDATE products 
[INFO] [stdout] 193 | |             SET name = ?, product_type = ?, description = ?, category_id = ?, brand_id = ?, updated_by = ?
[INFO] [stdout] ...   |
[INFO] [stdout] 203 | |             company_id
[INFO] [stdout] 204 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:211:19
[INFO] [stdout]     |
[INFO] [stdout] 211 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 212 | |             r#"
[INFO] [stdout] 213 | |             INSERT INTO product_variants (product_id, name, sku, base_unit_id, base_cost, company_id, created_by)
[INFO] [stdout] 214 | |             VALUES (?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |             data.created_by
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:233:23
[INFO] [stdout]     |
[INFO] [stdout] 233 | ...   let vr = sqlx::query!("SELECT id FROM product_variants WHERE sku = ? AND company_id = ?", data.sku, data.company_id).fetch_on...
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/product_repository.rs:241:19
[INFO] [stdout]     |
[INFO] [stdout] 241 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 242 | |             r#"
[INFO] [stdout] 243 | |             INSERT INTO product_units (
[INFO] [stdout] 244 | |                 variant_id, unit_id, conversion_to_base, selling_price, purchase_price, 
[INFO] [stdout] ...   |
[INFO] [stdout] 266 | |             data.created_by
[INFO] [stdout] 267 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inventory_repository.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 |           let header_query = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 414 | |             r#"
[INFO] [stdout] 415 | |             SELECT 
[INFO] [stdout] 416 | |                 p.name as product_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 428 | |             inventory_id, company_id
[INFO] [stdout] 429 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inventory_repository.rs:553:25
[INFO] [stdout]     |
[INFO] [stdout] 553 |           let stock_row = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 554 | |             r#"
[INFO] [stdout] 555 | |             SELECT id, product_id, variant_id, store_id, quantity_on_hand 
[INFO] [stdout] 556 | |             FROM inventory_stocks 
[INFO] [stdout] ...   |
[INFO] [stdout] 560 | |             inventory_id, company_id
[INFO] [stdout] 561 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inventory_repository.rs:580:9
[INFO] [stdout]     |
[INFO] [stdout] 580 | /         sqlx::query!(
[INFO] [stdout] 581 | |             r#"
[INFO] [stdout] 582 | |             UPDATE inventory_stocks 
[INFO] [stdout] 583 | |             SET quantity_on_hand = ?, quantity_available = quantity_available + ? 
[INFO] [stdout] ...   |
[INFO] [stdout] 586 | |             dto.physical_count, diff, inventory_id
[INFO] [stdout] 587 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/inbound_repository.rs:37:29
[INFO] [stdout]    |
[INFO] [stdout] 37 |           let header_result = sqlx::query!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 38 | |             r#"
[INFO] [stdout] 39 | |             INSERT INTO inbound_receipts (
[INFO] [stdout] 40 | |                 company_id, reference_no, supplier_id, warehouse_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             user_id
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/inbound_repository.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 | /             sqlx::query!(
[INFO] [stdout] 63 | |                 r#"
[INFO] [stdout] 64 | |                 INSERT INTO inbound_items (
[INFO] [stdout] 65 | |                     company_id, inbound_id, variant_id, qty_received, 
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |                 base_qty
[INFO] [stdout] 77 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/inbound_repository.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 | /         sqlx::query_as!(
[INFO] [stdout] 90 | |             InboundReceipt,
[INFO] [stdout] 91 | |             r#"SELECT id, company_id, reference_no, status as "status!", warehouse_id, created_by 
[INFO] [stdout] 92 | |                FROM inbound_receipts WHERE id = ?"#,
[INFO] [stdout] 93 | |             id
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 | /         sqlx::query_as!(
[INFO] [stdout] 101 | |             InboundItem,
[INFO] [stdout] 102 | |             r#"SELECT id, variant_id, qty_received, conversion_factor as "conversion_factor!", base_qty_added 
[INFO] [stdout] 103 | |                FROM inbound_items WHERE inbound_id = ?"#,
[INFO] [stdout] 104 | |             inbound_id
[INFO] [stdout] 105 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 | /         sqlx::query!(
[INFO] [stdout] 112 | |             "UPDATE inbound_receipts SET status = ? WHERE id = ?",
[INFO] [stdout] 113 | |             status,
[INFO] [stdout] 114 | |             id
[INFO] [stdout] 115 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |               let product_data = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 144 | |                 "SELECT product_id, sku FROM product_variants WHERE id = ?",
[INFO] [stdout] 145 | |                 item.variant_id
[INFO] [stdout] 146 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:151:32
[INFO] [stdout]     |
[INFO] [stdout] 151 |               let stock_record = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 152 | |                 "SELECT quantity_on_hand FROM inventory_stocks WHERE variant_id = ? AND store_id = ? FOR UPDATE",
[INFO] [stdout] 153 | |                 item.variant_id,
[INFO] [stdout] 154 | |                 receipt.warehouse_id
[INFO] [stdout] 155 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 | /             sqlx::query!(
[INFO] [stdout] 169 | |                 r#"
[INFO] [stdout] 170 | |                 INSERT INTO inventory_stocks (
[INFO] [stdout] 171 | |                     company_id, product_id, variant_id, store_id, sku,
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |                 user_id  // updated_by
[INFO] [stdout] 191 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:328:23
[INFO] [stdout]     |
[INFO] [stdout] 328 |           let receipt = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 329 | |             r#"
[INFO] [stdout] 330 | |             SELECT 
[INFO] [stdout] 331 | |                 i.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | |             company_id
[INFO] [stdout] 351 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/inbound_repository.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |               let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 358 | |                 crate::dtos::inbound_dto::InboundDetailItemResponse,
[INFO] [stdout] 359 | |                 r#"
[INFO] [stdout] 360 | |                 SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |                 inbound_id
[INFO] [stdout] 374 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_cors::Cors`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_cors::Cors;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpResponse`
[INFO] [stdout]  --> src/main.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{App, HttpResponse, HttpServer, error, web};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/document_numbering.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 34 |           let doc = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 35 | |             DocumentNumbering,
[INFO] [stdout] 36 | |             r#"
[INFO] [stdout] 37 | |             SELECT id, name, formatter, last_number, last_year, last_month, last_day, number_length, reset_at 
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             doc_id
[INFO] [stdout] 43 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/utils/document_numbering.rs:96:9
[INFO] [stdout]     |
[INFO] [stdout]  96 | /         sqlx::query!(
[INFO] [stdout]  97 | |             r#"
[INFO] [stdout]  98 | |             UPDATE document_numbering 
[INFO] [stdout]  99 | |             SET last_number = ?, last_year = ?, last_month = ?, last_day = ?
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |             doc_id
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/utils/inventory_history.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         sqlx::query!(
[INFO] [stdout] 31 | |             r#"
[INFO] [stdout] 32 | |             INSERT INTO stock_inventory_histories (
[INFO] [stdout] 33 | |                 company_id, product_id, variant_id, store_id, reference_no, type,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             entry.created_by
[INFO] [stdout] 48 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::store_model::Store`
[INFO] [stdout]  --> src/dtos/store_dto.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{dtos::pagination_dto::PaginationQuery, models::store_model::Store};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/repository/auth_repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/repository/store_repository.rs:2:55
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{dtos::store_dto::UpdateStoreDto, models::{self, store_model::{Store}}};
[INFO] [stdout]   |                                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/repository/category_repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateBrandDto`
[INFO] [stdout]  --> src/repository/brand_repository.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dtos::brand_dto::{CreateBrandDto, UpdateBrandDto};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateInboundItemDto`
[INFO] [stdout]   --> src/repository/inbound_repository.rs:24:50
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dtos::inbound_dto::{CreateInboundDto, CreateInboundItemDto};
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dtos::pagination_dto::PaginationQuery`
[INFO] [stdout]  --> src/services/store_service.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{dtos::pagination_dto::PaginationQuery, repository::store_repository::StoreRepository};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dtos::pagination_dto::PaginationQuery`
[INFO] [stdout]  --> src/services/product_service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::dtos::pagination_dto::PaginationQuery;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::MySqlPool`
[INFO] [stdout]  --> src/utils/inventory_history.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::MySqlPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_cors::Cors`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_cors::Cors;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpResponse`
[INFO] [stdout]  --> src/main.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{App, HttpResponse, HttpServer, error, web};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::store_model::Store`
[INFO] [stdout]  --> src/dtos/store_dto.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{dtos::pagination_dto::PaginationQuery, models::store_model::Store};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/repository/auth_repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/repository/store_repository.rs:2:55
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{dtos::store_dto::UpdateStoreDto, models::{self, store_model::{Store}}};
[INFO] [stdout]   |                                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/repository/category_repository.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateBrandDto`
[INFO] [stdout]  --> src/repository/brand_repository.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dtos::brand_dto::{CreateBrandDto, UpdateBrandDto};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateInboundItemDto`
[INFO] [stdout]   --> src/repository/inbound_repository.rs:24:50
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dtos::inbound_dto::{CreateInboundDto, CreateInboundItemDto};
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dtos::pagination_dto::PaginationQuery`
[INFO] [stdout]  --> src/services/store_service.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{dtos::pagination_dto::PaginationQuery, repository::store_repository::StoreRepository};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dtos::pagination_dto::PaginationQuery`
[INFO] [stdout]  --> src/services/product_service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::dtos::pagination_dto::PaginationQuery;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::MySqlPool`
[INFO] [stdout]  --> src/utils/inventory_history.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::MySqlPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/repository/supplier_repository.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |         if let Some(ref name) = dto.name {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/repository/supplier_repository.rs:98:21
[INFO] [stdout]    |
[INFO] [stdout] 98 |         if let Some(ref code) = dto.code {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contact`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:102:21
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if let Some(ref contact) = dto.contact_name {
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `email`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |         if let Some(ref email) = dto.email {
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phone`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:110:21
[INFO] [stdout]     |
[INFO] [stdout] 110 |         if let Some(ref phone) = dto.phone {
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |         if let Some(ref address) = dto.address {
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |         if let Some(status) = dto.status {
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/repository/supplier_repository.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |         if let Some(ref name) = dto.name {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/repository/supplier_repository.rs:98:21
[INFO] [stdout]    |
[INFO] [stdout] 98 |         if let Some(ref code) = dto.code {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contact`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:102:21
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if let Some(ref contact) = dto.contact_name {
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `email`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |         if let Some(ref email) = dto.email {
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phone`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:110:21
[INFO] [stdout]     |
[INFO] [stdout] 110 |         if let Some(ref phone) = dto.phone {
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |         if let Some(ref address) = dto.address {
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/repository/supplier_repository.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |         if let Some(status) = dto.status {
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/middleware/auth_middleware.rs:63:33
[INFO] [stdout]    |
[INFO] [stdout] 63 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pos-be` (bin "pos-be") due to 48 previous errors; 19 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/middleware/auth_middleware.rs:63:33
[INFO] [stdout]    |
[INFO] [stdout] 63 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pos-be` (bin "pos-be" test) due to 48 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333", kill_on_drop: false }`
[INFO] [stdout] 9223a24cd24178eb96c28493ce87532b84bee97a7d6d9f290cfb29c7cb9a5333
